package com.lczc.soa.service;

import com.lczc.soa.domain.Admin;
import com.lczc.soa.domain.SearchAdminResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public interface AdminService {
    Admin findAdminByName(String adminName);


    SearchAdminResponse findAllAdmin(Integer pageNum, Integer pageSize);

    SearchAdminResponse findAdminLikeName(String keywords, Integer pageNum, Integer pageSize);

    int deleteAdmin(String id);
}
